export const routes = [
  {
    name: '企业管理',
    path: '/business',
    component: () => import('@/views/mainPage/index.vue'),
    children: [{ name: '企业账号', path: '/business/account', component: () => import('@/views/mainPage/basic.vue') }],
  },
  {
    name: '产品管理',
    path: '/product',
    component: () => import('@/views/mainPage/index.vue'),
    children: [
      { name: '产品类型', path: '/product/type', component: () => import('@/views/product/productType/index.vue') },
      { name: '产品功能', path: '/product/ability', component: () => import('@/views/product/productFunctions/index.vue') },
      { name: '产品版本', path: '/product/version', component: () => import('@/views/product/productVersion/index.vue') },
    ],
  },
  {
    name: '设置',
    path: '/settings',
    component: () => import('@/views/mainPage/index.vue'),
    children: [
      { name: '用户管理', path: '/settings/user', component: () => import('@/views/mainPage/basic.vue') },
      { name: '个人中心', path: '/settings/center', component: () => import('@/views/mainPage/basic.vue') },
    ],
  },
];
